<?php
/* @var $this SlideshowController */
/* @var $model Slideshow */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('bootstrap.widgets.BootActiveForm', array(
	'id'=>'slideshow-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div>
		<?php echo $form->labelEx($model,'img_src'); ?>
		<?php echo $form->textArea($model,'img_src',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'img_src'); ?>
	</div>

	<div>
		<?php echo $form->labelEx($model,'img_des'); ?>
		<?php echo $form->textArea($model,'img_des',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'img_des'); ?>
	</div>

	<div>
		<?php echo $form->labelEx($model,'img_order'); ?>
		<?php echo $form->textField($model,'img_order'); ?>
		<?php echo $form->error($model,'img_order'); ?>
	</div>

	<div class="row-actions">
        <?php $this->widget('bootstrap.widgets.BootButton', array('buttonType' => 'submit', 'type' => 'primary', 'icon' => 'ok', 'label' => $model->isNewRecord ? 'Tạo' : 'Lưu')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->